package com.sky.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//配置属性类
@Component
@ConfigurationProperties(prefix = "sky.alioss")
@Data
public class AliOssProperties {
    //@Autowired(required = false)
    private String endpoint;
    //@Autowired(required = false)
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;

}
